FROM ubuntu:18.04
RUN echo "images for ncnn-linux"
RUN rm /etc/apt/sources.list
COPY ./sources.list /etc/apt/
COPY ./startup.sh /
RUN chmod +x /startup.sh

RUN apt update
RUN apt-get install tzdata
RUN apt-get install -y locales 
RUN localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
ENV LANG en_US.utf8

RUN apt-get install -y build-essential git cmake libprotobuf-dev protobuf-compiler libvulkan-dev vulkan-utils libopencv-dev

RUN apt-get -y install ssh
CMD /startup.sh

